<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
		<link rel="stylesheet" href="__ADMIN_PUBLIC__css/public.css" />
		<script type="text/javascript" src="__ADMIN_PUBLIC__js/jquery-1.7.2.min.js"></script>
		<script type="text/javascript" src="__ADMIN_PUBLIC__js/public.js"></script>
       <!-- 配置文件 -->
    <script type="text/javascript" src="__STATIC__/ueditor/ueditor.config.js"></script>
    <!-- 编辑器源码文件 -->
    <script type="text/javascript" src="__STATIC__/ueditor/ueditor.all.min.js"></script>

	<title>修改内容</title>

</head>
<body>
	<form action="" method="post">

	
		<table class="table">
			<tr >
				<td class="th" colspan="2">修改内容</td>
			</tr>
			<tr>
				<td>当前所属栏目</td>
				<td>
					
					<select name="pid">
					<foreach name="cateChooseList" item="v" >
					<option value="{$v.cid}" <if condition="$v.cid eq $modelField.cid">selected="selected"</if> >{$v.name}</option>
					</foreach>					
					</select>
				</td>
			</tr>
			<tr>
				<td>标题</td>
				<td><input type="text" name="atitle" class="tdLtitle8" value="{$articleData.atitle}"/></td>
			</tr>
			<tr>
				<td>副标题</td>
				<td><input type="text" name="asubtitle" class="tdLtitle8" value="{$articleData.asubtitle}"/></td>
			</tr>
			<tr>
				<td>置顶信息</td>
				<td>
				<input class='np' type='checkbox' name='aattr[]' id='aattrh' value='h' <php> if(in_array('h',$attrData)){ echo 'checked ="checked"';} </php> >头条[h]
				<input class='np' type='checkbox' name='aattr[]' id='aattrc' value='c' <php> if(in_array('c',$attrData)){ echo 'checked ="checked"';} </php>>推荐[c]
				<input class='np' type='checkbox' name='aattr[]' id='aattrf' value='f' <php> if(in_array('f',$attrData)){ echo 'checked ="checked"';} </php>>幻灯[f]
				<input class='np' type='checkbox' name='aattr[]' id='aattra' value='a' <php> if(in_array('a',$attrData)){ echo 'checked ="checked"';} </php>>特荐[a]
				<input class='np' type='checkbox' name='aattr[]' id='aattrs' value='s' <php> if(in_array('s',$attrData)){ echo 'checked ="checked"';} </php> >滚动[s]
				<input class='np' type='checkbox' name='aattr[]' id='aattrb' value='b' <php> if(in_array('b',$attrData)){ echo 'checked ="checked"';} </php>>加粗[b]
				<input class='np' type='checkbox' name='aattr[]' id='aattrp' value='p' <php> if(in_array('p',$attrData)){ echo 'checked ="checked"';} </php>>图片[p]
				<input class='np' type='checkbox' name='aattr[]' id='aattrj' value='j' onclick='ShowUrlTr()' <php> if(in_array('j',$attrData)){ echo 'checked ="checked"';} </php>>跳转[j]            </td>
       </td>
			</tr>
			<tr>
				<td>文章来源</td>
				<td><input type="text" name="asource" class="tdLtitle8" value="{$articleData.asource}" /></td>
			</tr>
			<tr>
				<td>关键字</td>
				<td><input type="text" name="akeywords" class="tdLtitle8" value="{$articleData.akeywords}"/></td>
			</tr>
			<tr>
				<td>TAG标签</td>
				<td><input type="text" name="content_rule" class="tdLtitle8" value="{$tagstr}" />(多个标签用','号分开，单个标签小于12字节)</td>
			</tr>
			<tr>
				<td>文章摘要</td>
				<td><textarea name="adigest" id="" cols="50" rows="6">{$articleData.adigest}</textarea></td>
			</tr>
			
		{$str}

			<tr>
				<td colspan="2">
					<input type="submit" value="修改" class="input_button"/>
					
				</td>
			</tr>
		</table>
	</form>
</body>
</html>